let path = require("path");
let fs = require("fs");
let url = path.join(__dirname, "..", "dist/static/css");
let fileArr = fs.readdirSync(url);
fileArr.forEach((currentValue, index, array) => {
  // console.log(currentValue, index, array);
  fs.readFile(path.join(url, currentValue), "utf8", (err, data) => {
    if (err) throw err;
    console.log(data);
    let newdata = data.replace(/\/\*.+\*\//g, "");
    console.log(newdata);
  });
});
